import request from '@/utils/request'

/* -----------------------------------------------------------------------------采购请求单 */

// 采购请购单-表头
export function A10requisition(params) {
  return request({
    url: '/A10requisition',
    params
  })
}

// 采购请购单-表体
export function A10requisitionsub(params) {
  return request({
    url: '/A10requisitionsub',
    params
  })
}

/* -----------------------------------------------------------------------------询价单 */

// 询价单-表头
export function A10inquiryList(params) {
  return request({
    url: '/A10inquiryList',
    params
  })
}

// 询价单-表体
export function A10inquiryListsub(params) {
  return request({
    url: '/A10inquiryListsub',
    params
  })
}

// 询价单-审核
export function A10inquiryListHasCheck(params) {
  return request({
    url: '/A10inquiryListHasCheck',
    params
  })
}

/* -----------------------------------------------------------------------------采购订单 */

// 采购订单-表头
export function A10purchaseOrder(params) {
  return request({
    url: '/A10purchaseOrder',
    params
  })
}

// 采购订单-表体
export function A10purchaseOrdersub(params) {
  return request({
    url: '/A10purchaseOrdersub',
    params
  })
}

/* -----------------------------------------------------------------------------采购入库单 */

// 采购入库单-表头
export function A10purchasingSystem(params) {
  return request({
    url: '/A10purchasingSystem',
    params
  })
}

// 采购入库单-表体
export function A10purchasingSystemsub(params) {
  return request({
    url: '/A10purchasingSystemsub',
    params
  })
}

/* -----------------------------------------------------------------------------采购退货单 */

// 采购入库单-表头
export function A10purchaseReturn(params) {
  return request({
    url: '/A10purchaseReturn',
    params
  })
}

// 采购入库单-表体
export function A10purchaseReturnsub(params) {
  return request({
    url: '/A10purchaseReturnsub',
    params
  })
}

/* -----------------------------------------------------------------------------请购明细表 */

// 请购明细表
export function A10requisitionList(params) {
  return request({
    url: '/A10requisitionList',
    params
  })
}

/* -----------------------------------------------------------------------------采购订单明细表 */

// 采购订单明细表
export function A10purchaseOrderSchedule(params) {
  return request({
    url: '/A10purchaseOrderSchedule',
    params
  })
}

/* -----------------------------------------------------------------------------采购交易明细表 */

// 采购交易明细表
export function A10purchaseTransactionDetails(params) {
  return request({
    url: '/A10purchaseTransactionDetails',
    params
  })
}

/* -----------------------------------------------------------------------------采购交期达成率 */

// 采购交期达成率
export function A10purchaseDeliveryTime(params) {
  return request({
    url: '/A10purchaseDeliveryTime',
    params
  })
}

/* -----------------------------------------------------------------------------供应商交易汇总表 */

// 供应商交易汇总表
export function A10supplierTransactionSummary(params) {
  return request({
    url: '/A10supplierTransactionSummary',
    params
  })
}
